Binds the vertex buffer bindings within the current render pipeline. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| BindVertexInputCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| BufferHandleGuard | indexBuffer |
| The buffer containing the index buffer data. Must have BufferUsageFlag::IndexBuffer. | |
| uint32_t | indexOffset |
| The offset into the index buffer in bytes. The offset must be a multiple of the index type size. | |
| IndexBufferType | indexType |
| The data type of each index. | |
| FixedArray< VertexBufferBinding, 4 > | vertexBuffers |
| Vertex buffer bindings. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Binds the vertex buffer bindings within the current render pipeline.
|
inlineexplicit |
Constructor.
| IndexBufferType kanzi::gfx::BindVertexInputCommand::indexType |
The data type of each index.
| BufferHandleGuard kanzi::gfx::BindVertexInputCommand::indexBuffer |
The buffer containing the index buffer data. Must have BufferUsageFlag::IndexBuffer.
| uint32_t kanzi::gfx::BindVertexInputCommand::indexOffset |
The offset into the index buffer in bytes. The offset must be a multiple of the index type size.
| FixedArray<VertexBufferBinding, 4> kanzi::gfx::BindVertexInputCommand::vertexBuffers |
Vertex buffer bindings.
The buffer order matches the binding order in the vertex input state.